home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d5
/
sq3demo.arc
/
INSTGAME.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-03-26
|
692b
|
33 lines
echo off
rem Parameters are
rem %1: drive on which to install the program
rem %2: drive from which installation is taking place
rem Check to see that there is enough space for the installation.
space %1: 2000kb
if errorlevel 1 goto NoSpace
godir %1:\sierra\sq3demo
if errorlevel 1 goto CantCreate
echo Copying drivers...
copy %2:*.drv >nul
copy %2:exists.com >nul
copy %2:sq3demo.bat .. >nul
copy %2:__insth.bat >nul
__insth %1 %2
:NoSpace
echo "There is not enough space on %1 to install Space Quest III Demo!"
echo "2 megabytes of disk space are necessary."
pause
goto Exit
:CantCreate
echo "Unable to create directory %1."
pause
goto Exit
:Exit